﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public interface ProtocolResponseInterface
{
    bool Response(byte[] data, int ProtocolBodyLength);
}

public class FindProtocolForEnumType
{
    public static readonly Dictionary<ProtocolEnumType, ProtocolResponseInterface> RegisteredProtocol = new Dictionary<ProtocolEnumType, ProtocolResponseInterface>()
    {
        {ProtocolEnumType.FirstConnect,(ProtocolResponseInterface)new FirstConnectProtocolResponse() },
    };

}